package com.longqian.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.longqian.model.domain.Team;
import com.longqian.model.domain.User;

import java.util.List;

/**
 * @description 针对表【team(队伍)】的数据库操作Mapper
 * @Entity com.longqian.model.domain
 */
public interface TeamMapper extends BaseMapper<Team> {

    /**
     * 根据队伍id 查询加入队伍的用户信息列表
     * @param id 队伍id
     * @return 用户信息列表
     */
    List<User> selectJoinUsers(Long id);
}
